home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / python-support / python2.6 / dbus / __init__.pyc (.txt) next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  3.3 KB  |  33 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. """Implements the public API for a D-Bus client. See the dbus.service module
  5. to export objects or claim well-known names.
  6.  
  7. ..
  8.   for epydoc's benefit
  9.  
  10. :NewField SupportedUsage: Supported usage
  11. :NewField Constructor: Constructor
  12. """
  13. import os
  14. __all__ = ('Bus', 'SystemBus', 'SessionBus', 'StarterBus', 'Interface', 'get_default_main_loop', 'set_default_main_loop', 'validate_interface_name', 'validate_member_name', 'validate_bus_name', 'validate_object_path', 'validate_error_name', 'BUS_DAEMON_NAME', 'BUS_DAEMON_PATH', 'BUS_DAEMON_IFACE', 'LOCAL_PATH', 'LOCAL_IFACE', 'PEER_IFACE', 'INTROSPECTABLE_IFACE', 'PROPERTIES_IFACE', 'ObjectPath', 'ByteArray', 'Signature', 'Byte', 'Boolean', 'Int16', 'UInt16', 'Int32', 'UInt32', 'Int64', 'UInt64', 'Double', 'String', 'Array', 'Struct', 'Dictionary', 'UTF8String', 'DBusException', 'MissingErrorHandlerException', 'MissingReplyHandlerException', 'ValidationException', 'IntrospectionParserException', 'UnknownMethodException', 'NameExistsException', 'service', 'mainloop', 'lowlevel')
  15. __docformat__ = 'restructuredtext'
  16.  
  17. try:
  18.     from dbus._version import version, __version__
  19. except ImportError:
  20.     pass
  21.  
  22. import dbus.exceptions as exceptions
  23. import dbus.types as types
  24. from _dbus_bindings import get_default_main_loop, set_default_main_loop, validate_interface_name, validate_member_name, validate_bus_name, validate_object_path, validate_error_name
  25. from _dbus_bindings import BUS_DAEMON_NAME, BUS_DAEMON_PATH, BUS_DAEMON_IFACE, LOCAL_PATH, LOCAL_IFACE, PEER_IFACE, INTROSPECTABLE_IFACE, PROPERTIES_IFACE
  26. from dbus.exceptions import MissingErrorHandlerException, MissingReplyHandlerException, ValidationException, IntrospectionParserException, UnknownMethodException, NameExistsException, DBusException
  27. from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte, Boolean, Int16, UInt16, Int32, UInt32, Int64, UInt64, Double, String, Array, Struct, Dictionary, UTF8String
  28. from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
  29. from dbus.proxies import Interface
  30. if 'DBUS_PYTHON_NO_DEPRECATED' not in os.environ:
  31.     from dbus._dbus import dbus_bindings
  32.  
  33.